import request from '@/utils/request'
const prePath = "/tripartite";
export function getTripartiteSystemDeptPage(params) {// 信息同步管理-部门
    return request({
        url: prePath + '/tripartiteSystemDept/page',
        method: "get",
        params
    })
}
export function getTripartiteSystemDeptPullData(params) {// 信息同步管理-人员
    return request({
        url: prePath + '/tripartiteSystemDept/pullData',
        method: "get",
        params
    })
}
export function deleteTripartiteSystemDept(data) {// 信息同步管理-人员
    return request({
        url: prePath + '/tripartiteSystemDept',
        method: "delete",
        data
    })
}
export function getTripartiteSystemDeptById(id) {// 信息同步管理-人员
    return request({
        url: prePath + '/tripartiteSystemDept/'+id,
        method: "get",
    })
}
export function createdTripartiteSystemDept(data) {// 信息同步管理-人员
    return request({
        url: prePath + '/tripartiteSystemDept/save',
        method: "post",
        data
    })
}
export function updateTripartiteSystemDept(data) {// 信息同步管理-人员
    return request({
        url: prePath + '/tripartiteSystemDept',
        method: "put",
        data
    })
}
export function getTripartiteSystemUserPage(params) {// 信息同步管理-人员
    return request({
        url: prePath + '/tripartiteSystemUser/page',
        method: "get",
        params
    })
}
export function getTripartiteSystemUserPullData(params) {// 信息同步管理-人员
    return request({
        url: prePath + '/tripartiteSystemUser/pullData',
        method: "get",
        params
    })
}
export function deleteTripartiteSystemUser(data) {// 信息同步管理-人员
    return request({
        url: prePath + '/tripartiteSystemUser',
        method: "delete",
        data
    })
}
export function getTripartiteSystemUserById(id) {// 信息同步管理-人员
    return request({
        url: prePath + '/tripartiteSystemUser/'+id,
        method: "get",
    })
}
export function createdTripartiteSystemUser(data) {// 信息同步管理-人员
    return request({
        url: prePath + '/tripartiteSystemUser/save',
        method: "post",
        data
    })
}
export function updateTripartiteSystemUser(data) {// 信息同步管理-人员
    return request({
        url: prePath + '/tripartiteSystemUser',
        method: "put",
        data
    })
}
export function createComparisonInfoSetting(data) {// 信息对照设置
    return request({
        url: prePath + '/comparisonInfoSetting',
        method: "post",
        data
    })
}
export function getComparisonInfoSettingPage(params) {// 信息对照设置
    return request({
        url: prePath + '/comparisonInfoSetting/page',
        method: "get",
        params
    })
}
export function deleteComparisonInfoSetting(data) {// 信息对照设置
    return request({
        url: prePath + '/comparisonInfoSetting',
        method: "delete",
        data
    })
}
export function getComparisonInfo(code) {// 信息对照设置
    return request({
        url: prePath + '/comparisonInfoSetting/selectByComparisonInfo/'+code,
        method: "get"
    })
}
export function getMappingTripartiteUserPage(params) {// 人员信息对照
    return request({
        url: prePath + '/mappingTripartiteUser/selectPage',
        method: "get",
        params
    })
}
export function getMappingTripartiteUserAll(data) {// 人员信息对照
    return request({
        url: prePath + '/mappingTripartiteUser/all',
        method: "get",
        data
    })
}
export function getMappingTripartiteUserById(id) {// 人员信息对照
    return request({
        url: prePath + '/mappingTripartiteUser/'+id,
        method: "get"
    })
}
export function createMappingTripartiteUser(data) {// 人员信息对照
    return request({
        url: prePath + '/mappingTripartiteUser',
        method: "post",
        data
    })
}
export function updateMappingTripartiteUser(data) {// 人员信息对照
    return request({
        url: prePath + '/mappingTripartiteUser',
        method: "put",
        data
    })
}
export function delMappingTripartiteUser(data) {// 人员信息对照
    return request({
        url: prePath + '/mappingTripartiteUser',
        method: "delete",
        data
    })
}
export function getSelectTripartiteUserList(data) {// 人员信息对照
    return request({
        url: prePath + '/mappingTripartiteUser/selectTripartiteUserList',
        method: "post",
        data
    })
}
export function getSelectUserList(data) {// 人员信息对照-spd
    return request({
        url: prePath + '/mappingTripartiteUser/selectUserList',
        method: "post",
        data
    })
}
export function mappingTripartiteUserComparison(data) {// 人员信息对照
    return request({
        url: prePath + '/mappingTripartiteUser/comparison',
        method: "post",
        data
    })
}
export function mappingTripartiteUserBatchInsert(data) {// 人员信息对照
    return request({
        url: prePath + '/mappingTripartiteUser/batchInsert',
        method: "post",
        data
    })
}

export function getMappingTripartiteDeptPage(params) {// 部门信息对照
    return request({
        url: prePath + '/mappingTripartiteDept/selectPage',
        method: "get",
        params
    })
}
export function getMappingTripartiteDeptAll(data) {// 部门信息对照
    return request({
        url: prePath + '/mappingTripartiteDept/all',
        method: "get",
        data
    })
}
export function getMappingTripartiteDeptById(id) {// 部门信息对照
    return request({
        url: prePath + '/mappingTripartiteDept/'+id,
        method: "get"
    })
}
export function createMappingTripartiteDept(data) {// 部门信息对照
    return request({
        url: prePath + '/mappingTripartiteDept',
        method: "post",
        data
    })
}
export function updateMappingTripartiteDept(data) {// 部门信息对照
    return request({
        url: prePath + '/mappingTripartiteDept',
        method: "put",
        data
    })
}
export function delMappingTripartiteDept(data) {// 部门信息对照
    return request({
        url: prePath + '/mappingTripartiteDept',
        method: "delete",
        data
    })
}
export function getSelectTripartiteDeptList(data) {// 部门信息对照
    return request({
        url: prePath + '/mappingTripartiteDept/selectTripartiteDeptList',
        method: "post",
        data
    })
}
export function getSelectDeptList(data) {// 部门信息对照-spd
    return request({
        url: prePath + '/mappingTripartiteDept/selectDeptList',
        method: "post",
        data
    })
}
export function mappingTripartiteDeptComparison(data) {// 部门信息对照
    return request({
        url: prePath + '/mappingTripartiteDept/comparison',
        method: "post",
        data
    })
}
export function tripartiteSystemUserSave(data) {// 部门信息对照
    return request({
        url: prePath + '/tripartiteSystemUser/save',
        method: "post",
        data
    })
}
export function tripartiteSystemDeptSave(data) {// 部门信息对照
    return request({
        url: prePath + '/tripartiteSystemDept/save',
        method: "post",
        data
    })
}
export function mappingTripartiteDeptBatchInsert(data) {// 人员信息对照
    return request({
        url: prePath + '/mappingTripartiteDept/batchInsert',
        method: "post",
        data
    })
}
export function batchInsertTripartiteSystemProduct(data) {
  return request({
      url: prePath + '/tripartiteSystemProduct/batchInsert',
      method: "post",
      data
  })
}
export function saveTripartiteSystemProduct(data) {
  return request({
      url: prePath + '/tripartiteSystemProduct/save',
      method: "post",
      data
  })
}
export function getTripartiteSystemProductPage(params) {
  return request({
      url: prePath + '/tripartiteSystemProduct/page',
      method: "get",
      params
  })
}
export function deleteTripartiteSystemProduct(data) {
  return request({
      url: prePath + '/tripartiteSystemProduct',
      method: "delete",
      data
  })
}
export function updateTripartiteSystemProduct(data) {
  return request({
      url: prePath + '/tripartiteSystemProduct',
      method: "put",
      data
  })
}
export function getTripartiteSystemProductPullData(params) {
  return request({
      url: prePath + '/tripartiteSystemProduct/pullData',
      method: "get",
      params
  })
}
export function saveTripartiteSystemDevice(data) {
  return request({
      url: prePath + '/tripartiteSystemDevice/save',
      method: "post",
      data
  })
}
export function getTripartiteSystemDevicePage(params) {
  return request({
      url: prePath + '/tripartiteSystemDevice/page',
      method: "get",
      params
  })
}
export function deleteTripartiteSystemDevice(data) {
  return request({
      url: prePath + '/tripartiteSystemDevice',
      method: "delete",
      data
  })
}
export function updateTripartiteSystemDevice(data) {
  return request({
      url: prePath + '/tripartiteSystemDevice',
      method: "put",
      data
  })
}
export function getTripartiteSystemDevicePullData(params) {
  return request({
      url: prePath + '/tripartiteSystemDevice/pullData',
      method: "get",
      params
  })
}
export function saveTripartiteSystemProject(data) {
  return request({
      url: prePath + '/tripartiteSystemProject/save',
      method: "post",
      data
  })
}
export function getTripartiteSystemProjectPage(params) {
  return request({
      url: prePath + '/tripartiteSystemProject/page',
      method: "get",
      params
  })
}
export function deleteTripartiteSystemProject(data) {
  return request({
      url: prePath + '/tripartiteSystemProject',
      method: "delete",
      data
  })
}
export function updateTripartiteSystemProject(data) {
  return request({
      url: prePath + '/tripartiteSystemProject',
      method: "put",
      data
  })
}
export function getTripartiteSystemProjectPullData(params) {
  return request({
      url: prePath + '/tripartiteSystemProject/pullData',
      method: "get",
      params
  })
}
export function saveTripartiteSystemDepot(data) {
  return request({
      url: prePath + '/tripartiteSystemDepot/save',
      method: "post",
      data
  })
}
export function getTripartiteSystemDepotPage(params) {
  return request({
      url: prePath + '/tripartiteSystemDepot/page',
      method: "get",
      params
  })
}
export function deleteTripartiteSystemDepot(data) {
  return request({
      url: prePath + '/tripartiteSystemDepot',
      method: "delete",
      data
  })
}
export function updateTripartiteSystemDepot(data) {
  return request({
      url: prePath + '/tripartiteSystemDepot',
      method: "put",
      data
  })
}
export function getTripartiteSystemDepotPullData(params) {
  return request({
      url: prePath + '/tripartiteSystemDepot/pullData',
      method: "get",
      params
  })
}
export function saveTripartiteSystemSupplier(data) {
  return request({
      url: prePath + '/tripartiteSystemSupplier/save',
      method: "post",
      data
  })
}
export function getTripartiteSystemSupplierPage(params) {
  return request({
      url: prePath + '/tripartiteSystemSupplier/page',
      method: "get",
      params
  })
}
export function deleteTripartiteSystemSupplier(data) {
  return request({
      url: prePath + '/tripartiteSystemSupplier',
      method: "delete",
      data
  })
}
export function updateTripartiteSystemSupplier(data) {
  return request({
      url: prePath + '/tripartiteSystemSupplier',
      method: "put",
      data
  })
}
export function getTripartiteSystemSupplierPullData(params) {
  return request({
      url: prePath + '/tripartiteSystemSupplier/pullData',
      method: "get",
      params
  })
}
export function getMappingTripartiteProductPage(params) {
  return request({
      url: prePath + '/mappingTripartiteProduct/selectPage',
      method: "get",
      params
  })
}
export function delMappingTripartiteProduct(data) {
  return request({
      url: prePath + '/mappingTripartiteProduct',
      method: "delete",
      data
  })
}
export function mappingTripartiteProductBatchInsert(data) {
  return request({
      url: prePath + '/mappingTripartiteProduct/batchInsert',
      method: "post",
      data
  })
}
export function mappingTripartiteProductComparison(data) {
  return request({
      url: prePath + '/mappingTripartiteProduct/comparison',
      method: "post",
      data
  })
}
export function getMappingTripartiteSupplierPage(params) {
  return request({
      url: prePath + '/mappingTripartiteSupplier/selectPage',
      method: "get",
      params
  })
}
export function delMappingTripartiteSupplier(data) {
  return request({
      url: prePath + '/mappingTripartiteSupplier',
      method: "delete",
      data
  })
}
export function mappingTripartiteSupplierBatchInsert(data) {
  return request({
      url: prePath + '/mappingTripartiteSupplier/batchInsert',
      method: "post",
      data
  })
}
export function mappingTripartiteSupplierComparison(data) {
    return request({
        url: prePath + '/mappingTripartiteSupplier/comparison',
        method: "post",
        data
    })
}
export function getMappingTripartiteDevicePage(params) {
  return request({
      url: prePath + '/mappingTripartiteDevice/selectPage',
      method: "get",
      params
  })
}
export function delMappingTripartiteDevice(data) {
  return request({
      url: prePath + '/mappingTripartiteDevice',
      method: "delete",
      data
  })
}
export function mappingTripartiteDeviceBatchInsert(data) {
  return request({
      url: prePath + '/mappingTripartiteDevice/batchInsert',
      method: "post",
      data
  })
}
export function mappingTripartiteDeviceComparison(data) {
  return request({
      url: prePath + '/mappingTripartiteDevice/comparison',
      method: "post",
      data
  })
}
export function getMappingTripartiteDepotPage(params) {
  return request({
      url: prePath + '/mappingTripartiteDepot/selectPage',
      method: "get",
      params
  })
}
export function delMappingTripartiteDepot(data) {
  return request({
      url: prePath + '/mappingTripartiteDepot',
      method: "delete",
      data
  })
}
export function mappingTripartiteDepotBatchInsert(data) {
  return request({
      url: prePath + '/mappingTripartiteDepot/batchInsert',
      method: "post",
      data
  })
}
export function mappingTripartiteDepotComparison(data) {
    return request({
        url: prePath + '/mappingTripartiteDepot/comparison',
        method: "post",
        data
    })
}
export function selectDepotList(data) {
  return request({
      url: prePath + '/mappingTripartiteDepot/selectDepotList',
      method: "post",
      data
  })
}
export function selectUserList(data) {
  return request({
      url: prePath + '/mappingTripartiteUser/selectUserList',
      method: "post",
      data
  })
}
export function selectProductList(data) {
  return request({
      url: prePath + '/mappingTripartiteProduct/selectProductList',
      method: "post",
      data
  })
}
export function selectDeviceList(data) {
  return request({
      url: prePath + '/mappingTripartiteDevice/selectDeviceList',
      method: "post",
      data
  })
}
export function selectSupplierList(data) {
  return request({
      url: prePath + '/mappingTripartiteSupplier/selectSupplierList',
      method: "post",
      data
  })
}
export function selectTripartiteProductList(data) {
  return request({
      url: prePath + '/mappingTripartiteProduct/selectTripartiteProductList',
      method: "post",
      data
  })
}
export function selectTripartiteDepotList(data) {
  return request({
      url: prePath + '/mappingTripartiteDepot/selectTripartiteDepotList',
      method: "post",
      data
  })
}
export function selectTripartiteSupplierList(data) {
  return request({
      url: prePath + '/mappingTripartiteSupplier/selectTripartiteSupplierList',
      method: "post",
      data
  })
}
export function selectTripartiteDeviceList(data) {
  return request({
      url: prePath + '/mappingTripartiteDevice/selectTripartiteDeviceList',
      method: "post",
      data
  })
}